
<%@ page import="org.knowlege.KnowlegeType" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'knowlegeType.label', default: 'KnowlegeType')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-knowlegeType" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-knowlegeType" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list knowlegeType">
			
				<g:if test="${knowlegeTypeInstance?.typeCode}">
				<li class="fieldcontain">
					<span id="typeCode-label" class="property-label"><g:message code="knowlegeType.typeCode.label" default="Type Code" /></span>
					
						<span class="property-value" aria-labelledby="typeCode-label"><g:fieldValue bean="${knowlegeTypeInstance}" field="typeCode"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeTypeInstance?.typeName}">
				<li class="fieldcontain">
					<span id="typeName-label" class="property-label"><g:message code="knowlegeType.typeName.label" default="Type Name" /></span>
					
						<span class="property-value" aria-labelledby="typeName-label"><g:fieldValue bean="${knowlegeTypeInstance}" field="typeName"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeTypeInstance?.priority}">
				<li class="fieldcontain">
					<span id="priority-label" class="property-label"><g:message code="knowlegeType.priority.label" default="Priority" /></span>
					
						<span class="property-value" aria-labelledby="priority-label"><g:fieldValue bean="${knowlegeTypeInstance}" field="priority"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeTypeInstance?.remark}">
				<li class="fieldcontain">
					<span id="remark-label" class="property-label"><g:message code="knowlegeType.remark.label" default="Remark" /></span>
					
						<span class="property-value" aria-labelledby="remark-label"><g:fieldValue bean="${knowlegeTypeInstance}" field="remark"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeTypeInstance?.createUser}">
				<li class="fieldcontain">
					<span id="createUser-label" class="property-label"><g:message code="knowlegeType.createUser.label" default="Create User" /></span>
					
						<span class="property-value" aria-labelledby="createUser-label"><g:fieldValue bean="${knowlegeTypeInstance}" field="createUser"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeTypeInstance?.dateCreated}">
				<li class="fieldcontain">
					<span id="dateCreated-label" class="property-label"><g:message code="knowlegeType.dateCreated.label" default="Date Created" /></span>
					
						<span class="property-value" aria-labelledby="dateCreated-label"><g:formatDate date="${knowlegeTypeInstance?.dateCreated}" format="yyyy-MM-dd hh:mm"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${knowlegeTypeInstance?.lastUpdated}">
				<li class="fieldcontain">
					<span id="lastUpdated-label" class="property-label"><g:message code="knowlegeType.lastUpdated.label" default="Last Updated" /></span>
					
						<span class="property-value" aria-labelledby="lastUpdated-label"><g:formatDate date="${knowlegeTypeInstance?.lastUpdated}" format="yyyy-MM-dd hh:mm"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${knowlegeTypeInstance?.id}" />
					<g:link class="edit" action="edit" id="${knowlegeTypeInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
